﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt
{
	// Token: 0x020000C1 RID: 193
	public class TStoredProcedureSqlStatement : TBlockSqlStatement
	{
		// Token: 0x060006F5 RID: 1781 RVA: 0x002FFB89 File Offset: 0x002FDD89
		public TStoredProcedureSqlStatement(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sst_block_with_declare_and_parameters;
		}

		// Token: 0x17000143 RID: 323
		// (get) Token: 0x060006F6 RID: 1782 RVA: 0x002FFB9A File Offset: 0x002FDD9A
		// (set) Token: 0x060006F7 RID: 1783 RVA: 0x002FFBB5 File Offset: 0x002FDDB5
		public virtual TStatementList DeclareStatements
		{
			get
			{
				if (this.declareStatements == null)
				{
					this.declareStatements = new TStatementList();
				}
				return this.declareStatements;
			}
			set
			{
				this.declareStatements = value;
			}
		}

		// Token: 0x17000144 RID: 324
		// (get) Token: 0x060006F9 RID: 1785 RVA: 0x002FFBC7 File Offset: 0x002FDDC7
		// (set) Token: 0x060006F8 RID: 1784 RVA: 0x002FFBBE File Offset: 0x002FDDBE
		public virtual TParameterDeclarationList ParameterDeclarations
		{
			get
			{
				return this.parameterDeclarations;
			}
			set
			{
				this.parameterDeclarations = value;
			}
		}

		// Token: 0x17000145 RID: 325
		// (get) Token: 0x060006FA RID: 1786 RVA: 0x002FFBCF File Offset: 0x002FDDCF
		public virtual TObjectName StoredProcedureName
		{
			get
			{
				return null;
			}
		}

		// Token: 0x040011CB RID: 4555
		private TStatementList declareStatements;

		// Token: 0x040011CC RID: 4556
		private TParameterDeclarationList parameterDeclarations;
	}
}
